package com.css.fxfzypg.modules.baseData.service;

import com.alibaba.fastjson.JSONObject;
import com.css.fxfzypg.modules.baseData.dto.PeoDTO;
import com.css.fxfzypg.modules.baseData.queryParams.PeoQueryParams;
import com.css.fxfzypg.modules.baseData.entity.PeoEntity;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.util.List;
import java.util.Map;

/**
 * @author y1fan
 * @create 2022-08-11 14:53
 */
public interface PeoService {

    PeoEntity findPeoById(String dataPeoId);

    void updatePeo(PeoDTO peoDTO);

    Map<String, Object> getAllPeoByParams(PeoQueryParams queryParams, int curPage, int pageSize);

    void deletePeo(List<String> list);

    String importExcel(MultipartFile file);


    Integer countByCounty(String province, String city, String county);
    Integer countByCity(String province, String city);
    Integer countByProvince(String province);

    Integer countByProvinceAndYear(String provinceName, String taskYear);
}
